// SETUP

#include endepisodegraphics_simple.txt

actor("Jester", screenwidth - 150, screenheight - 100, Col.multiplylightness(Col.RED, 1.25), RIGHT, BOTTOM, "chat_jester", "characters/misc/charicon_humanjester");

var player = getplayername();
if(player == "Warrior"){
  actor("Warrior", 150, screenheight - 100, Col.LIGHTBLUE, LEFT, BOTTOM, "chat_warrior", "characters/warrior/charicon_warrior");
}else if(player == "Thief"){
  actor("Thief", 150, screenheight - 100, Col.multiplylightness(Col.GREEN, 1.25), LEFT, BOTTOM, "chat_thief", "characters/thief/charicon_thief");
}else if(player == "Robot"){
  actor("Robot", 150, screenheight - 100, 0xDDDDDD, LEFT, BOTTOM, "chat_robot", "characters/robot/charicon_robot");
}else if(player == "Inventor"){
  actor("Inventor", 150, screenheight - 100, 0xffe48d, LEFT, BOTTOM, "chat_inventor", "characters/inventor/charicon_inventor");
}else if(player == "Witch"){
  actor("Witch", 150, screenheight - 100, 0xb496ec, LEFT, BOTTOM, "chat_witch", "characters/witch/charicon_witch");
}
// INTRO

play("music_cutscene_lesscheery");

changebackground("intro_sign");

sign.y = -screenheight;
sign.show("loop");

Actuate.tween(sign, 2, { y: 0 }).ease(Expo.easeOut);

wait(0.5);

fadein();

wait(1.5);

speak(player, "...");
speak(player, "... uhhh");
speak(player, "So, who's going to spin the wheel now?");

speak("Jester", "No idea!");
speak("Jester", "Not my problem anymore!");
speak("Jester", "C'mon, let's get out of here!");

gamecompletefromcutscene();
